home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk70 / whereis2 / whereis.doc < prev    next >
Text File  |  1995-03-19  |  3KB  |  55 lines

  1. I have made a few changes to WhereIs.  It now reports the exact
  2. path and spelling (including Capitalization) of the files it finds.
  3. It also reports the size and last change date and time. This should
  4. assist in determining which of the versions on a disk is the most
  5. current. The size reporting can help indicate if two version might
  6. be identical (same size). I also compiled it with the 4.0 version
  7. of Lattice C (just used "lc -L whereis" to compile and link all in
  8. one command) and the enhanced executable is actually smaller. (10K
  9. versus 16K for the original.)
  10.  
  11. Also note that in the case where no device/directory is given
  12. as the 2nd parameter the default is to start in the root of the
  13. currently logged directory. This allows you to be anywhere on your
  14. hard drive and type "WhereIs whereis" and it will return something
  15. like:
  16. :c/WhereIs        Size=16716        12/01/1987 at 20:14
  17. :Util/Where/WhereIs        Size=16716        12/01/1987 at 20:01
  18. :C-src/where/whereis    Size=10756        12/18/1987 at 21:18
  19.  
  20. Hope these cosmetic changes are appreciated. I would like to thank
  21. the author for providing a very usefull little utility here. I think
  22. the author is Kevin M. Rahe (he uploaded it anyway). I am 
  23. Ken Presser (KPRESSER on GEnie, kpresser on BIX).
  24.  
  25. The following is the Author's original documentation:
  26.  
  27. WhereIs is designed to speed the process of finding files on disks.  WhereIs
  28. will go thru a disk and look for a file.  When WhereIs finds the file, the 
  29. filename is printed followed by the complete path to that file.  If the file
  30. cannot be found on that device, an apology about not finding the file is 
  31. printed.  WhereIs uses 2 parameters: a filename and a device name.  Here 
  32. are some examples:
  33.  
  34. WhereIs dir df0:    ;will search device df0: for the file dir
  35. WhereIs lc1 cc:        ;will search disk CC: for the file lc1
  36. WhereIs blink        ;will search the default device for the file blink
  37.  
  38. Note that if the second parameter is omitted, the current default device is
  39. searched for the file specified in the first parameters.
  40.  
  41. Where is also distributed with WhereIs (a fast hack of WhereIs).  Where 
  42. differs from WhereIs in that Where quits as soon as it finds the first 
  43. occurance of the file of interest.  WhereIs will continue looking until its
  44. searched every subdirectory for multiple occurances of the file of interest.
  45.  
  46. KNOWN PROBLEMS:
  47. Something I've been unable to determine is why WhereIs cannot find stuff in
  48. the RAM: device.  I suspect that some of the system routines don't handle
  49. the RAM: device just right.  If you've any insight into this matter, please
  50. tell me.
  51.  
  52. The makefile I distribute has a dependency structure for Where as well as for
  53. WhereIs.  But I can't get Make to update Where.  So,I hacked a copy of 
  54. makefile and used that.  
  55.